package cate.common.table.res.achievement.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cp.solution.util.str.Str;

import java.util.List;

@EExcelRowClass(IDTitle = "索引")
public class AchievementExpRow extends ERow {
    @EExcelNoteField(fieldName = "感悟所需成就")
    private String unlockTids;

    @EExcelNoteField(fieldName = "是否公告")
    public boolean announce;

    @EExcelNoteField(fieldName = "挂接技能")
    public int skill;

    public List<Integer> unlockList;

    @Override
    public void decode() {
        unlockList = Str.str2IntList(unlockTids, "#");
    }
}
